Configure dependabot vulnerability alerts on all repos#220
Conversation
There was a problem hiding this comment.
Pull request overview
This PR centralizes enabling GitHub Dependabot vulnerability alerts by moving that configuration out of per-repo gh.Repository arguments and into a dedicated gh.RepositoryVulnerabilityAlerts resource created for every Repo component instance.
Changes:
- Add a
RepositoryVulnerabilityAlertschild resource to the sharedRepocomponent. - Remove the inline
vulnerabilityAlertssetting fromPublicReporepository creation. - Export
vulnerabilityAlertsviaregisterOutputsfromPublicRepoandPrivateRepo.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| components/repo.ts | Creates a RepositoryVulnerabilityAlerts resource for each repository component. |
| components/publicRepo.ts | Removes inline vulnerability alerts setting and registers the new vulnerability alerts resource as an output. |
| components/privateRepo.ts | Registers the new vulnerability alerts resource as an output. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🍹 The Update (preview) for UnstoppableMango/unmango-github/prod (at 345f666) was successful. ✨ Neo ExplanationThis refactors vulnerability alerts into a standalone managed resource for all 15 public repos (and private repos going forward), which is purely additive — no deletions or replacements. ✅ Low Risk, with a minor caveat that the GitHub provider version mismatch (6.13.1 vs required ≥6.14.0) should be verified before applying.This PR moves 🔵 Info — The GitHub provider plugin on the runner is version 6.13.1 but the code expects ≥6.14.0. The 🔵 Info — The Resource Changes Name Type Operation
+ charts github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
+ game github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
+ cloudflare-operator github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ go unmango:github:PublicRepo update
+ thecluster-operator github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
+ thecluster github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ gnumake-go unmango:github:PublicRepo update
+ aferox github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
+ protofs github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ devctl unmango:github:PublicRepo update
~ kubebuilder unmango:github:PublicRepo update
+ devctl github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ apis unmango:github:PublicRepo update
~ protofs unmango:github:PublicRepo update
~ aferox unmango:github:PublicRepo update
+ apis github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ pulumi-baremetal unmango:github:PublicRepo update
~ thecluster unmango:github:PublicRepo update
+ go-pia github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
+ pulumi-baremetal github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ game unmango:github:PublicRepo update
+ go-make github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ go-make unmango:github:PublicRepo update
~ thecluster-operator unmango:github:PublicRepo update
+ kubebuilder github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ charts unmango:github:PublicRepo update
+ gnumake-go github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
~ go-pia unmango:github:PublicRepo update
~ cloudflare-operator unmango:github:PublicRepo update
+ go github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts create
|
5dbada8 to
345f666
Compare
No description provided.